<template>
    <el-container>
      <el-header height="70px">
        <Head></Head>
      </el-header>
      <el-main>
        <!--捕获子路由并展示-->
        <router-view></router-view>
      </el-main>
      <el-footer height="60px">
        <foote></foote>
      </el-footer>
    </el-container>
</template>

<script>
  import Head from "../home/HomeHead";
 import foote from "../home/homefoot"
  export default {
    name: "Layout",
    components: {
      Head: Head,
      foote:foote
    }
  }
</script>

<style scoped>
*{
  padding: 0;
  margin: 0;
}
</style>
